Destination:
  macOS   : ~/Library/Application Support/Code/User/settings.json
  Linux   : ~/.config/Code/User/settings.json
  Windows : %APPDATA%\Code\User\settings.json   (e.g. C:\Users\<you>\AppData\Roaming\Code\User\settings.json)

MERGE the one key from settings.json into your existing file - do NOT replace it.
(This file is JSONC: comments and trailing commas are allowed.)

Then:
  1. REMOVE any old "claudeCode.environmentVariables" block that mentions
     CLAUDE_CODE_USE_FOUNDRY / ANTHROPIC_FOUNDRY_* / ANTHROPIC_API_KEY, or an
     ANTHROPIC_BASE_URL that is not the apim-haute-sdk gateway.
     NEVER put ANTHROPIC_API_KEY here - that re-enables the v1 approve/decline
     trap and creates a second copy of the secret.
  2. Fully CLOSE and reopen VS Code (File > Exit / Cmd+Q - not "Reload Window").

Fallback ONLY if VS Code still shows a sign-in screen after a full restart and an
extension update: you may additionally give the extension the base URL (no key!)
in ARRAY shape - the object-map shape is silently ignored:
  "claudeCode.environmentVariables": [
    { "name": "ANTHROPIC_BASE_URL", "value": "https://apim-haute-sdk.azure-api.net/v2/anthropic" }
  ]
